package com.ruicar.afs.cloud.afscase.approvemakelabel.service.impl;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.ruicar.afs.cloud.afscase.approvemakelabel.entity.ApproveMakeLabel;
import com.ruicar.afs.cloud.afscase.approvemakelabel.mapper.ApproveMakeLabelMapper;
import com.ruicar.afs.cloud.afscase.approvemakelabel.service.ApproveMakeLabelService;
import com.ruicar.afs.cloud.afscase.approvemakelabel.vo.ApproveMake;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.extern.slf4j.Slf4j;
import org.springframework.stereotype.Service;

import java.util.List;


/**
 * @author jiaqi.guo
 * @version 1.0
 * @created 2020/5/19 11:40
 */
@Service
@AllArgsConstructor
@Data
@Slf4j
public class ApproveMakeLabelServiceImpl extends ServiceImpl<ApproveMakeLabelMapper, ApproveMakeLabel> implements ApproveMakeLabelService {
    //根据多标签名称模糊查询
    public List<ApproveMake> queryLabelByNameList(List list) {
        return baseMapper.queryLabelByNameList(list);
    }

    //根据申请编号查询
    public List<ApproveMakeLabel> queryLabelByApplyNo(String applyNo) {
        return baseMapper.queryLabelByApplyNo(applyNo);
    }


}
